package main

import (
	"time"
	"fmt"
)

func main()  {
	t1:=time.Now()
	fmt.Println(t1)
	year,month,day:=t1.Date()
	fmt.Println("年：月：日：",year,month,day)

	hour,minute,second:=t1.Clock()
	fmt.Println(hour,minute,second)

	fmt.Println(t1.Year())
	fmt.Println(t1.Month())
	fmt.Println(t1.Day())
	fmt.Println(t1.Hour())
	fmt.Println(t1.Minute())
	fmt.Println(t1.Second())
	fmt.Println(t1.Nanosecond())
	fmt.Println(t1.Weekday())
	fmt.Println(t1.ISOWeek())
	fmt.Println(t1.YearDay())
}
